package com.slf.demo.openapi.controller;

import io.swagger.v3.oas.annotations.ExternalDocumentation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author slf
 * @date 2021/8/13
 */
@Tag(name = "Demo2Controller", description = "OpenApi 测试接口2", externalDocs = @ExternalDocumentation(description = "https://www.baidu.com"))
@RestController
@RequestMapping("demo2")
public class Demo2Controller {
    @PutMapping("put")
    public String demoPut(){
        return null;
    }
}
